package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class PageCdkRequest extends PageRequest {

    @ApiModelProperty("活动id")
    @NotNull(message = "活动id不能为空")
    private Long cdkActivityId;
    @ApiModelProperty("核销状态:  2:默认 1:已核销  0:未核销")
    @NotNull(message = "核销状态不能为空")
    private Integer isUse;

    @ApiModelProperty("是否过期  2:默认 1:已过期  0:未过期")
    @NotNull(message = "是否过期不能为空")
    private Integer isExpired;
    @ApiModelProperty("cdk")
    private String cdk;
}
